<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
<!--  导入vue-->
  <script src="js/vue.js"></script>
</head>
<body>
<div id="app">
  <p>msg : {{msg}}</p>
  <!--  {{}}  插值表达式-->
<input type="text" v-model="msg">
</div>
<script>
  let vue = Vue.createApp({
    data(){
      return {
        msg: 'hello world'
      }
    }
  })
  // 挂载
  vue.mount('#app')
</script>
</body>
</html>